var depts = [
    {
        id: 1,
        name: "dev"
    }, {
        id: 2,
        name: "test"
    }, {
        id: 3,
        name: "hr"
    }
]
var jobs = [
    {
        id: 1,
        name: "普通员工"
    }, {
        id: 2,
        name: "副经理"
    }, {
        id: 3,
        name: "经理"
    }
]

var status = [
    {
        id: 1,
        name: "在职"
    }, {
        id: 2,
        name: "离职"
    }
]
var employees = Mock.mock({
    "list|5": [
        {
            "id|+1": 1, // id是累加
            "name": "@cname", // 中文名称
            "dept|1": depts,
            "job|1": jobs,
             "status":{
                 id:1,
                 name:"在职"
             }
        }
    ]
})